package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 万能机TestMaster软件上传详情数据业务对象 n_laboratory_mechanics_all_powerful_machine_detail
 *
 * @author zyb
 * @date 2023-09-11
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class NLaboratoryMechanicsAllPowerfulMachineDetailBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 试样主表id
     */
    @NotBlank(message = "试样主表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sampleId;

    /**
     * 试样编号
     */
    @NotBlank(message = "试样编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sampleKey;

    /**
     * 试样序号
     */
    @NotBlank(message = "试样序号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String detailKey;

    /**
     * 试验时间
     */
    @NotBlank(message = "试验时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String time;

    /**
     * 原始标距
     */
    @NotBlank(message = "原始标距不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lo;

    /**
     * 最大力
     */
    @NotBlank(message = "最大力不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fm;

    /**
     * 抗拉强度
     */
    @NotBlank(message = "抗拉强度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String rm;

    /**
     * 上屈服力
     */
    @NotBlank(message = "上屈服力不能为空", groups = { AddGroup.class, EditGroup.class })
    private String feH;

    /**
     * 上屈服度强度
     */
    @NotBlank(message = "上屈服度强度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String reH;

    /**
     * 下屈服力
     */
    @NotBlank(message = "下屈服力不能为空", groups = { AddGroup.class, EditGroup.class })
    private String feL;

    /**
     * 下屈服度强度
     */
    @NotBlank(message = "下屈服度强度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String reL;

    /**
     * 断后标距
     */
    @NotBlank(message = "断后标距不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lu;

    /**
     * 断后伸长率
     */
    @NotBlank(message = "断后伸长率不能为空", groups = { AddGroup.class, EditGroup.class })
    private String a;

    /**
     * 平行长度
     */
    @NotBlank(message = "平行长度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lc;

    /**
     * 标准屈服
     */
    @NotBlank(message = "标准屈服不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stdRe;

    /**
     * 断后截面积
     */
    @NotBlank(message = "断后截面积不能为空", groups = { AddGroup.class, EditGroup.class })
    private String su;

    /**
     * 断后收缩率
     */
    @NotBlank(message = "断后收缩率不能为空", groups = { AddGroup.class, EditGroup.class })
    private String z;

    /**
     * 规定塑性延伸力
     */
    @NotBlank(message = "规定塑性延伸力不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fp;

    /**
     * 规定塑性延伸强度
     */
    @NotBlank(message = "规定塑性延伸强度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String rp;

    /**
     * 规定总延伸力
     */
    @NotBlank(message = "规定总延伸力不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ft;

    /**
     * 规定总延伸强度
     */
    @NotBlank(message = "规定总延伸强度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String rt;

    /**
     * 弹性模量
     */
    @NotBlank(message = "弹性模量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String e;

    /**
     * 最大力总延伸
     */
    @NotBlank(message = "最大力总延伸不能为空", groups = { AddGroup.class, EditGroup.class })
    private String dlm;

    /**
     * 最大总延伸率(更符合标准)
     */
    @NotBlank(message = "最大总延伸率(更符合标准)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String agt;

    /**
     * 最大力总延伸率(由于历史原因，可以考虑优先使用)
     */
    @NotBlank(message = "最大力总延伸率(由于历史原因，可以考虑优先使用)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String at;

    /**
     * 最大力塑性延伸
     */
    @NotBlank(message = "最大力塑性延伸不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lm;

    /**
     * 最大力塑性延伸率
     */
    @NotBlank(message = "最大力塑性延伸率不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ag;

    /**
     * 断裂特征(钢筋机械连接特有:断于母材、断于连接件、连接件拔出)
     */
    @NotBlank(message = "断裂特征(钢筋机械连接特有:断于母材、断于连接件、连接件拔出)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String dltz;

    /**
     * 断裂性质（钢筋焊接特有：延性断裂、脆性断裂）
     */
    @NotBlank(message = "断裂性质（钢筋焊接特有：延性断裂、脆性断裂）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String dlxz;

    /**
     * 断裂位置(钢筋焊接特有:断于焊缝之外、断于焊缝、断于热感区)
     */
    @NotBlank(message = "断裂位置(钢筋焊接特有:断于焊缝之外、断于焊缝、断于热感区)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String dlwz;

    /**
     * 试样的原始数据点
     */
    @NotBlank(message = "试样的原始数据点不能为空", groups = { AddGroup.class, EditGroup.class })
    private String datas;

}
